<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="varnish.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="varnish.examples.html">范例</a></div>
 <div class="up"><a href="book.varnish.html">Varnish</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="varnish.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <p class="para">
  <dl>

   
    <dt id="constant.varnish-status-syntax">
     <strong><code>VARNISH_STATUS_SYNTAX</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-unknown">
     <strong><code>VARNISH_STATUS_UNKNOWN</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-unimpl">
     <strong><code>VARNISH_STATUS_UNIMPL</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-toofew">
     <strong><code>VARNISH_STATUS_TOOFEW</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-toomany">
     <strong><code>VARNISH_STATUS_TOOMANY</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-param">
     <strong><code>VARNISH_STATUS_PARAM</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-auth">
     <strong><code>VARNISH_STATUS_AUTH</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-ok">
     <strong><code>VARNISH_STATUS_OK</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-cant">
     <strong><code>VARNISH_STATUS_CANT</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-comms">
     <strong><code>VARNISH_STATUS_COMMS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-status-close">
     <strong><code>VARNISH_STATUS_CLOSE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-config-ident">
     <strong><code>VARNISH_CONFIG_IDENT</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-config-host">
     <strong><code>VARNISH_CONFIG_HOST</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-config-port">
     <strong><code>VARNISH_CONFIG_PORT</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-config-timeout">
     <strong><code>VARNISH_CONFIG_TIMEOUT</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-config-secret">
     <strong><code>VARNISH_CONFIG_SECRET</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-config-compat">
     <strong><code>VARNISH_CONFIG_COMPAT</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-compat-2">
     <strong><code>VARNISH_COMPAT_2</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
   
    <dt id="constant.varnish-compat-3">
     <strong><code>VARNISH_COMPAT_3</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
     </span>
    </dd>

   
  </dl>

 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="varnish.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="varnish.examples.html">范例</a></div>
 <div class="up"><a href="book.varnish.html">Varnish</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
